home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gparted.postinst < prev    next >
Text File  |  2009-10-06  |  635b  |  18 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # versions 0.3.9-1 and 0.3.9-2 shipped /var/lib/scrollkeeper erroneously,
  6. # overwritting the scrollkeeper database which requires a full rebuild
  7. if [ "$1" = "configure" ] && dpkg --compare-versions "$2" ge "0.3.9-1" && dpkg --compare-versions "$2" lt "0.3.9-3" && [ -x "`which scrollkeeper-rebuilddb 2>/dev/null`" ]; then
  8.     echo "Upgrade from broken gparted version detected, running scrollkeeper-rebuilddb..."
  9.     scrollkeeper-rebuilddb -q
  10. fi
  11.  
  12. # Automatically added by dh_installmenu
  13. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  14.     update-menus
  15. fi
  16. # End automatically added section
  17.  
  18.